package com.sgcc.nfc.lock.domain.repository

import com.sgcc.nfc.lock.core.network.NetworkResult
import com.sgcc.nfc.lock.domain.model.PagedList
import com.sgcc.nfc.lock.domain.model.Warning

interface WarningRepository {
    suspend fun getWarnings(
        page: Int,
        pageSize: Int,
        status: Int? = null,
        type: Int? = null,
        regionId: Long? = null
    ): NetworkResult<PagedList<Warning>>

    suspend fun getWarningDetail(warningId: Long): NetworkResult<Warning>
    suspend fun handleWarning(warningId: Long, remark: String?): NetworkResult<Unit>
}
